knitr::opts_chunk$set(echo=TRUE, message=FALSE, warning=FALSE, dpi=60, out.width = "100%")
options(scipen=999)
options(knitr.kable.NA = '--') #'--'
options(knitr.kable.NAN = '--')

Background

For fish passage field work - we used to collect our field data on paper form only. So - in most of our previous workflows we were transferring data from paper to excel spreadsheets (provincial dta submission templates) before doing some of the office work required to get the information still needed for those spreadsheets. Now that we are transitioning to gathering much of our data on digital fieldforms (still backing up on paper mostly though) we are attempting to clean, tidy and obtain all information necessary by updating tables of our data collected digitally before transferring to the spreadsheets. This is quite the process and we are still working on it. It can make interpretation of our past workflows really confusing too. This tutorial is an attempt to document some of the work we are doing.

Here is a relevant issue - https://github.com/NewGraphEnvironment/onboarding/issues/97

Conclusion

We can really do anything programatically but it is not always worth it and can be full of major issues. Trying to explain something can take a long time but exposes a lot of what is happening and allows adaptive management going forward.


In order to render this document we need a work around from the standard bookdown method. We run this command below by hand in the console to render the document.

rmarkdown::render("scripts/tutorials/road_tenure.Rmd", output_file = "road_tenure.html", output_dir = "scripts/tutorials")